package com.tuanzi.loan.business.entity.family;

import com.tuanzi.loan.core.entity.AuditEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

/**
 * @author caiwanlin
 * @create 2019-02-18 16:43
 */
@Data
@Entity
@Table(name = "loan_product_tongdun_many_head")
@EqualsAndHashCode(callSuper = true)
public class ProductTongdunManyHead extends AuditEntity {
    private static final long serialVersionUID = -1329585303492980456L;

    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "activity_id")
    private Long activityId;

    @Column(name = "only_remark")
    private Integer onlyRemark;

    @Column(name = "time_remark")
    private Integer timeRemark;

    @Column(name = "industry")
    private String industry;

    @Column(name = "counts")
    private Integer counts;
}
